package com.example.gyt.dao;

import com.example.gyt.pojo.Messages;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface MessagesMapper {
    int deleteByPrimaryKey(String id);

    int insert(Messages record);

    int insertSelective(Messages record);

    Messages selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Messages record);

    int updateByPrimaryKey(Messages record);

    List<Messages> getAllMessagesList(Messages record);

    int queryCountLike(Messages record);
}